package cn.bone.ou.data.bean;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("community_notice")
@Data
public class CommunityNotice {
    @TableId
    private Integer id;
    private Integer communityId;        //小区id
    private String title;               //标题
    private Integer state;              //状态(0:未发布,1:已发布)
    private Integer pageViews;          //浏览量
    private Integer createUserId;       //创建人id
    private Date createTime;            //创建时间
    @TableField(strategy= FieldStrategy.IGNORED)
    private Integer publishUserId;       //修改人id
    @TableField(strategy= FieldStrategy.IGNORED)
    private Date publishTime;            //修改时间
}
